<?php echo $this->doctype(); ?>
<html>
<head>
    <?php 
    echo $this->headTitle(); 
   	echo $this->headMeta();   	
   	echo $this->headScript();
	echo $this->headLink()->appendStylesheet("/js/extjs/resources/css/ext-all.css")
						  ->appendStylesheet("/js/extjs/resources/css/xtheme-gray.css")
						  ->appendStylesheet("/style/style.css");
	echo $this->headScript()->appendFile("/js/extjs/adapter/ext/ext-base-debug.js",'text/javascript')
	                   		->appendFile("/js/extjs/ext-all-debug.js",'text/javascript');   
	?>
</head>
<body>
<?php echo $this->layout()->content; ?>
<div id="north"></div>
<div id="loading-mask" style=""></div>
<div id="loading">
    <div class="loading-indicator"><img src="/images/loading.gif" width="32" height="32" style="margin-right:8px;"  >Loading...</div>
</div>
<script type="text/javascript">
	<?php echo $this->windowLogin;?>
	setTimeout(function(){
	    Ext.get('loading').remove();
	    Ext.get('loading-mask').fadeOut({remove:true});
	}, 250);	
</script>
</body>
</html>